class Solution:
    def containsDuplicate(self, nums) -> bool:
        return not (len(nums) == len(set(nums)))


if __name__ == '__main__':
    so = Solution()
    s = [1,2,3]
    r = so.containsDuplicate(s)
    print(r)
